USE RapPhim
GO

begin tran
SET TRAN ISOLATION LEVEL REPEATABLE READ
	declare @TinhTrang int
	set @TinhTrang = (select TinhTrang from Ve where MaVe = 1)
	print 'Ket qua kiem tra: '
	print @TinhTrang
	
	waitfor delay '0:0:5'

	set @TinhTrang = (select TinhTrang from Ve where MaVe = 1)
	print 'Ket qua kiem tra lai: '
	print @TinhTrang
	
commit